package com.boolib.dao;

import com.boolib.pojo.ShopChina;
import com.boolib.pojo.ShopChinaExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.BaseMapper;
@Repository
public interface ShopChinaMapper extends BaseMapper<ShopChina> {
    long countByExample(ShopChinaExample example);

    int deleteByExample(ShopChinaExample example);

    List<ShopChina> selectByExample(ShopChinaExample example);

    int updateByExampleSelective(@Param("record") ShopChina record, @Param("example") ShopChinaExample example);

    int updateByExample(@Param("record") ShopChina record, @Param("example") ShopChinaExample example);

    @Select("select * from shop_china")
    List<ShopChina> selectAll();
}

